<?php
namespace App\Repositories;

//幸运乐园-至尊场 补池处理逻辑
class AddPoolSeniorRepository extends AddPoolRepository
{
    public function __construct()
    {
        parent::__construct();
        //通用
        $this->game_type = 2;//数据库字段废弃，为避免报错将值设置为2
        $this->is_add_pool = app('model_config')->getValue('IS_ADD_POOL');

        //分类开始
        $this->set_type = 'senior';
        $this->poolUserModel = app('model_senior_pool_user');
        $this->poolGroupModel = app('model_senior_pool_group');
        $this->poolPrizeModel = app('model_senior_pool_prize');
        $this->poolConfigModel = app('model_senior_pool_config');
        $this->checkModel = app('model_senior_draw_check');
        $this->checkRecordModel = app('model_senior_draw_check_record');
        $this->giftConfigModel = app('model_senior_gift_config');
        $this->giftTemplateModel = app('model_senior_gift_template');
        $this->addPoolConfigModel = app('model_senior_draw_add_pool_config');
        $this->addPoolAccountModel = app('model_senior_draw_add_pool_account');
        $this->addPoolAccountRecordModel = app('model_senior_draw_add_pool_account_record');
        $this->appointGiftModel = app('model_senior_appoint_gift');
    }

}

